<template>
  <el-timeline style="max-width: 450px">
    <el-timeline-item
        v-for="(event, index) in item.getEvent()"
        :key="index"
        :type="event.type"
        :timestamp="event.timestamp"
        hollow
    >
      {{ event.info }}
    </el-timeline-item>
  </el-timeline>
</template>
<script setup lang="ts">

import {ProcessFace} from "@/utils/process.ts";

const props = defineProps<{ item: ProcessFace }>()
</script>